package com.dolittle.template;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;

public class MenuActivity extends Activity {

	MenuTemplateView mMenuTemplateView;
	/** Called when the activity is first created. */
	@Override
	public void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		mMenuTemplateView = new MenuTemplateView(this,this);
		setContentView(mMenuTemplateView);
	}

	@Override
	protected void onStart() {
		super.onStart();
		
	}
	
	private void returnToMainActivity()
	{
	   Bundle conData = new Bundle();
	   conData.putString("param_return", "text returned to MainActivity");
	   Intent intent = new Intent();
	   intent.putExtras(conData);
	   setResult(RESULT_OK, intent);
	   finish();
	}

	@Override
	protected void onStop() {
		super.onStop();
		finish();
	}
	
}
